package com.ease.component.util {
   import com.ease.util.ResourceLoader;
   import com.ease.component.constant.Constants;

   public class Util {
      public static function string(key:String, parameters:Array = null):String {
         var resource:ResourceLoader = ResourceLoader.instance();
         return ResourceLoader.instance().getString(Constants.DEFAULT_BUNDLE, key, parameters);
      }

      public static function image(key:String):Class {
         return ResourceLoader.instance().getClass(Constants.DEFAULT_BUNDLE, key);
      }
   }
}